# -*- coding: utf-8 -*-
# @Time    : 2021/9/15 18:38
# @Author  : BrandonGT
# @FileName: 9_6_ice_cream_stand.py

class Restaurant:
    def __init__(self, name, cuisine):
        self.restaurant_name = name
        self.cuisine_name = cuisine

    def describe_restaurant(self):
        print("The Best Restaurant in the world")
        print("The owner is Brandon")

    def open_restaurant(self):
        print("The restaurant is now opened!")


class IceCreamStand(Restaurant):
    def __init__(self, name, cuisine):
        super(IceCreamStand, self).__init__(name, cuisine)
        self.favours = ["apple", "banana", "cherry"]

    def display_favour(self):
        for favour in self.favours:
            print(f"The favour contains: {favour}\n")

ice_cream_restaurant = IceCreamStand("Brandon", "icecream")
ice_cream_restaurant.display_favour()
ice_cream_restaurant.open_restaurant()